package mysql

import "gorm.io/gorm"

type Medi struct {
	gorm.Model
	Name      string  `gorm:"type:varchar(30);not null; comment: 药品名称"`
	MediImage string  `gorm:"type:varchar(500);not null;comment: 药品图片"`
	Price     float32 `gorm:"type:decimal(10,2);not null;comment: 药品价格"`
	Start     int64   `gorm:"type:int(11);not null;comment: 库存"`
}
